<!DOCTYPE html>
<html>

<head>
    <title>{$article.post_title} - {$site_info.site_seo_title|default=''} </title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}" />
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <link href="__TMPL__/public/assets/css/article.css?version=20.7" rel="stylesheet">
    
    <include file="public@head" />
    <hook name="before_head_end" />
</head>

<body>
    <div class="m_container">
        <include file="public@head_list" />
        <div class="row">
            <div class="col-xs-12">
                <div class="list_header">
                    <span class="catname">{$category.name}</span>
                    <notempty name="$category.description">
                        <span class="description">{$category.description}</span>
                    </notempty>
                </div>
                <div class="article-box">
                    <div id="article_header">
                        <span class="atc_title">{$article.post_title}</span>
                        <div class="article-infobox">
                            <span>发布时间：{:date('Y-m-d H:i',$article.published_time)} 编辑：{$article.user.user_nickname}</span>
                        </div>
                        <php>
                            $before_content_hook_param=[ 'object_id'=>$article['id'], 'table_name'=>'portal_post', 'object_title'=>$article['post_title'], 'user_id'=>$article['user_id'], 'url'=>cmf_url_encode('portal/Article/index',array('id'=>$article['id'],'cid'=>$category['id'])),
                            'object'=>$article ];
                        </php>
                        <hook name="before_content" param="before_content_hook_param" />
                    </div>
                    <div id="article_content">
                        {$article.post_content}
                        <if condition="!empty($article['post_source'])">
                            <div class="zz_tips">
                                <b>注：本文转载自{$article.post_source}，转载目的在于传递更多信息，并不代表本网赞同其观点和对其真实性负责。如有侵权行为，请联系我们，我们会及时删除。</b>
                            </div>
                        </if>
                    </div>
                    
                    <hook name="after_content" param="after_content_hook_param" />
                </div>

            </div>
        </div>
        <include file="public@footer" />
    </div>
    <div id='modal_m'>
        <div class='modal_m' id='modal_mw'>
            <img id='bgImg' />
        </div>
    </div>
    <script src="__TMPL__/public/assets/js/hammer.js"></script>
    <script src="__TMPL__/public/assets/js/article.js?version=20.7"></script>
    <hook name="before_body_end" />
</body>

</html>